/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.antrom.devlo;

import java.util.List;

/**
 *
 * @author E078095L
 */
public class Annuaire {

    public List<Adresse> myAnnuaire;

    public Annuaire(List<Adresse> annu) {
        myAnnuaire = annu;
    }

    public Annuaire() {
        myAnnuaire = null;
    }

    public List<Adresse> getMyAnnuaire() {
        return myAnnuaire;
    }

    public void setMyAnnuaire(List<Adresse> myAnnuaire) {
        this.myAnnuaire = myAnnuaire;
    }
    
    public boolean contains(Adresse adr) {
        return myAnnuaire.contains(adr);
    }
}
